<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" class="form-control" name="row[code]" type="text">
        </div>
    </div> -->
    <div class="form-group">

        <!-- 订单号 -->
        <label class="control-label col-xs-12 col-sm-1">{:__('Ordercode')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-ordercode" class="form-control" name="row[ordercode]" type="text">
        </div>

        <!-- 客户 -->
        <label class="control-label col-xs-12 col-sm-1">{:__('Busid')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input type="text" id="busid" class="form-control">
            <input id="c-busid" class="form-control" name="row[busid]" type="hidden">
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">{:__('Contact')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-contact" class="form-control" name="row[contact]" type="text">
        </div>
        <label class="control-label col-xs-12 col-sm-1">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-phone" class="form-control" name="row[phone]" type="text">
        </div>

    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">{:__('Contacts_and_address')}:</label>
        <div class="col-xs-12 col-sm-9">
            <!-- {:build_select('row[addrid]', null, null, ['class'=>'selectpicker', 'required'=>''])} -->
            <select name="row[addrid]" id="addrid" class="selectpicker" data-width="100%" data-title="请选择">
            </select>
        </div>
        <!-- <label class="control-label col-xs-12 col-sm-1">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" type="text">
        </div> -->
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-1">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-9">
            <textarea id="c-remark" class="form-control " rows="5" name="row[remark]" cols="50"></textarea>
        </div>
    </div>
    
    <div class="form-group">
        <table id="table" class="table table-striped table-bordered table-hover table-nowrap col-sm-10 control-label">
        </table>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
